module.exports=(function(){
    var colors=[
        '#E00032', '#C41162',
        '#AA00FF', '#6200EB',
        '#304FFF', '#4E69FF',
        '#0091EA', '#00B8D4',
        '#01BFA5', '#12C700',
        '#64DD16', '#AEEA00'
    ];
    var types={
        WATER:{name:'水费', icon:'water'},
        ELECTRIC:{name:'电费', icon:'electric'},
        GAS:{name:'燃气费', icon:'gas'},
        LOAN:{name:'房贷', icon:'loan'},
        PUBLIC:{name:'公摊电费', icon:'public'},
        ESTATE:{name:'物业管理费', icon:'estate'},
        FUND:{name:'家庭基金', icon:'fund'},
        MEALS:{name:'伙食费', icon:'meals'},
        PHONE:{name:'手机话费', icon:'phone'},
        FOOD:{name:'买菜费用', icon:'meals'},
        MEDICINE:{name:'医药费', icon:'medicine'},
        OTHERS:{name:'其他', icon:'others'}
    };
    var i=0;
    for(var type in types){
        types[type].color=colors[i++];
    }
    return types;
})();